WOPB\VariationSwatches D

Total Complexity 139
Dependencies 3
Dependents 5
Total lines 749
Lines of code 501
Logical lines of code 277
Comment lines 152
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
variation_swatch_html()
D
24
44 158
attribute_fields()
A
43 12 49
swatches_show_loop_item_price()
A
58 10 13
wopb_loop_add_to_cart_ajax()
A
50 9 24
create_attribute_column_content()
A
53 8 21
swatches_show_loop_add_to_cart()
A
54 8 19
swatchesInWcListingPage()
S
59 8 12
manage_attribute_term()
S
52 7 22
set_product_option_terms()
S
47 5 37
loop_variation_form()
S
49 4 28
swatches_shop_loop_item_title()
S
60 5 12
save_term_meta()
S
62 4 11
get_taxonomy_attribute()
S
61 3 12
initial_setup()
S
59 2 15
__construct()
S
56 1 17
add_variation_swatches_scripts()
S
58 1 17
create_attribute_column()
S
65 2 9
create_attribute_field()
S
75 1 4
label_attribute_column()
S
74 1 4
image_attribute_column()
S
74 1 4
color_attribute_column()
S
74 1 4
create_attribute_type()
S
76 1 4
edit_attribute_field()
S
71 1 5